home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
language
/
gemfsc18.lzh
/
AESSRC18.LZH
/
AESFUNCS
/
FRMCONFI.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-03-21
|
620b
|
23 lines
/**************************************************************************
* FRMCONFI.C - The frm_confine() function.
*************************************************************************/
#include "gemfast.h"
void frm_confine(ptree, boundrect)
register OBJECT *ptree;
GRECT *boundrect;
{
register GRECT *prect = (GRECT *)&ptree->ob_x;
if (ptree->ob_state & (OUTLINED|SHADOWED)) {
rc_gadjust(prect, 4, 4);
}
rc_confine(boundrect, prect);
if (ptree->ob_state & (OUTLINED|SHADOWED)) {
rc_gadjust(prect, -4, -4);
}
}